package ex;

public class ex3 {
    public static void  main(String[] args){
        byte b_max=Byte.MAX_VALUE;
        System.out.println(b_max);
        byte b_min=Byte.MIN_VALUE;
        System.out.println(b_min);
        short s_max=Short.MAX_VALUE;
        System.out.println(s_max);
        short s_min=Short.MIN_VALUE;
        System.out.println(s_min);
        int i_min=Integer.MIN_VALUE;
        System.out.println(i_min);
        int i_max=Integer.MAX_VALUE;
        System.out.println(i_max);
        long l_min=Long.MIN_VALUE;
        System.out.println(l_min);
        long l_max=Long.MAX_VALUE;
        System.out.println(l_max);
        int i=19;
        System.out.println(i + "的二进制是:" + Integer.toBinaryString(i));
        System.out.println(i + "的十六进制是:" + Integer.toHexString(i));


    }
}
